package org.csu.mypetstore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.csu.mypetstore.domain.PO.Sequence;

public interface SequenceMapper extends BaseMapper<Sequence> {

//    @Select("SELECT name, nextid FROM SEQUENCE WHERE NAME = #{sequence.name}")
//    public Sequence getSequence(@Param("sequence") Sequence sequence);
//
//    @Update("UPDATE SEQUENCE SET NEXTID = #{sequence.nextId} WHERE NAME = #{sequence.name}")
//    public void updateSequence(@Param("sequence") Sequence sequence);
}
